// pages/store/groupon/groupon.js
Page({
  data: {
    "groupPurchase": [
      {
        "id": 1,
        "name": "补水护肤品套装正品滋润保湿爽肤洗面奶睡乳",
        "url": "https://cbu01.alicdn.com/img/ibank/2017/950/483/7974384059_102386287.search.jpg",
        "price": "125.00",
        "capite": "58.90",
        "paymentNumber": 1699,
      },
      {
        "id": 2,
        "name": "补水护肤品套装正品滋润保湿爽肤洗面奶睡乳",
        "url": "https://cbu01.alicdn.com/img/ibank/2016/274/584/3720485472_495099580.search.jpg",
        "price": "185.00",
        "capite": "65.90",
        "paymentNumber": 1009,
      },
      {
        "id": 3,
        "name": "补水护肤品套装正品滋润保湿爽肤洗面奶睡乳",
        "url": "https://cbu01.alicdn.com/img/ibank/2017/884/333/5167333488_1091548420.search.jpg",
        "price": "145.00",
        "capite": "50.90",
        "paymentNumber": 199,
      }
    ]
  },
  onLoad: function (options) {
  },
  //tabBar页面的跳转
  storeTap: function () {
    wx.switchTab({
      url: '../store',
    })
  },
  // 非tabBar页面的跳转
  // 链接食品生鲜页面
  foodTap: function () {
    wx.navigateTo({
      url: '../food/food'
    })
  },
  // 链接美妆个护页面
  makeupTap: function () {
    wx.navigateTo({
      url: '../makeup/makeup'
    })
  },
  // 链接服饰内衣页面
  underwearTap: function () {
    wx.navigateTo({
      url: '../underwear/underwear'
    })
  },
  // 链接母婴童装页面
  clothingTap: function () {
    wx.navigateTo({
      url: '../clothing/clothing'
    })
  },
  // 链接百货家纺页面
  departmentTap: function () {
    wx.navigateTo({
      url: '../department/department'
    })
  },
  //链接九块九专区页面
  zoneTap: function () {
    wx.navigateTo({
      url: '../zone/zone'
    })
  },
  //链接团购页面 
  grouponTap: function () {
    wx.navigateTo({
      url: '../groupon/groupon',
    })
  }
})